<script setup lang="ts">
import { onMounted } from "vue";
import { useInjectWebSocket } from "../../../../dist";
import { WebSocketHandlerType } from "../../../../src/types";

onMounted(() => {
  let wsh: WebSocketHandlerType = useInjectWebSocket();
  wsh.logVersion();
});

defineProps<{ msg: string }>();
</script>

<template>
  <h1>{{ msg }}</h1>
</template>

<style scoped></style>
